From: Kurt Kremitzki Date: Sat, 4 Feb 2023 13:01:18 +0000 (+0100) Subject: Fix break caused by hidden dependency on 3rd party library (OpenCASCADE) "using names... X-Git-Tag: archive/raspbian/0.21.2+dfsg1-3+rpi1~2^2~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dacff4ee852e604eb1097eabf487bf347ae361eb;p=freecad.git Fix break caused by hidden dependency on 3rd party library (OpenCASCADE) "using namespace std" Last-Updated: 2021-09-06 Gbp-Pq: Name opencascade74.patch --- diff --git a/src/Mod/Raytracing/App/RayFeature.cpp b/src/Mod/Raytracing/App/RayFeature.cpp index 4303216f..dc77c6f6 100644 --- a/src/Mod/Raytracing/App/RayFeature.cpp +++ b/src/Mod/Raytracing/App/RayFeature.cpp @@ -82,19 +82,19 @@ App::DocumentObjectExecReturn *RayFeature::execute(void) // This must not be done in PovTools::writeShape! long t = Transparency.getValue(); const App::Color& c = Color.getValue(); - result << "// instance to render" << endl - << "object {" << Name << endl - << " texture {" << endl; + result << "// instance to render" << std::endl + << "object {" << Name << std::endl + << " texture {" << std::endl; if (t == 0) { - result << " pigment {color rgb <"<}" << endl; + result << " pigment {color rgb <"<}" << std::endl; } else { float trans = t/100.0f; - result << " pigment {color rgb <"< transmit "< transmit "<